import json


def obj_to_list(objs):
    result = []
    for obj in objs:
        result.append(json.dumps(obj.__dict__))
    return result


# def obj_to_dict(obj):
#     return json.dumps(obj.__dict__)
